'''
  算术运输符：+ - * / // **
'''
r1 = 10/3
print(f'r1={r1}')

r2 = 10//3
print(f'r2={r2}')

r3 = 2 ** 3
print(f'r3={r3}')

r4 = 10%3
print(f'r4={r4}')

'''
复合赋值运算符：如果一个变量在自身的的基础上发生改变，那么此时就可以选择使用’复合赋值运算符‘
'''
num1 = 10
#num1 = num1 + 1
num1 +=1#简化写法
print(f'num1={num1}')

num1 -=5
print(f'num1={num1}')
num1 *=5
print(f'num1={num1}')
num1 /=5
print(f'num1={num1}')
num1 %=5
print(f'num1={num1}')